package com.koro.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel
@Data
public class SaveShopCartDTO implements Serializable {


    @ApiModelProperty(value = "购物车id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer usersId;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "商品数量")
    private BigDecimal goodsNum;

    @ApiModelProperty(value = "状态 0 未下单，1 已下单")
    private Integer type;

}
